package com.yanfan.modbus.frame;


import com.yanfan.modbus.code.FunctionCode;
import com.yanfan.modbus.exception.ModbusTransportException;
import com.yanfan.modbus.frame.abs.ModbusRequest;
import io.netty.buffer.ByteBuf;


public class ReadExceptionStatusRequest extends ModbusRequest {

    public ReadExceptionStatusRequest(int slaveId) throws ModbusTransportException {
        super(slaveId);
    }

    @Override
    public byte getFunctionCode() {
        return FunctionCode.READ_EXCEPTION_STATUS;
    }


    @Override
    public void validate() {
        // no op
    }


    @Override
    protected void writeRequest(ByteBuf queue) {
        // no op
    }


    @Override
    protected void readRequest(ByteBuf queue) {
        // no op
    }


}
